﻿<UserControl x:Class="CCWP7.CaliburnMicro.ProjectItemControl"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    FontFamily="{StaticResource PhoneFontFamilyNormal}"
    FontSize="{StaticResource PhoneFontSizeNormal}"
    Foreground="{StaticResource PhoneForegroundBrush}"
    d:DesignHeight="480" d:DesignWidth="480">
    
    <Grid x:Name="LayoutRoot">
        <StackPanel Orientation="Horizontal">
            <StackPanel>
                <Image Source="{Binding LastBuildStatusImage}" Width="48" Height="48"/>
            </StackPanel>
            <StackPanel Margin="0,0,0,17">
                <TextBlock Text="{Binding Name}" TextWrapping="Wrap" Style="{StaticResource PhoneTextLargeStyle}"/>
                <TextBlock Text="{Binding ServerName}" TextWrapping="Wrap" Margin="12,-6,12,0" Style="{StaticResource PhoneTextSubtleStyle}"/>
                <TextBlock Text="{Binding Activity}" TextWrapping="Wrap" Margin="12,-6,12,0" Style="{StaticResource PhoneTextSubtleStyle}"
                           Foreground="{StaticResource PhoneAccentBrush}"/>
            </StackPanel>
        </StackPanel>
    </Grid>
</UserControl>
